<?php
/**
 * The following variables are available in this template:
 * - $this: the CrudCode object
 */
?>
<?php
echo "<?php\n";
$label=$this->pluralize($this->class2name($this->modelClass));
echo "\$this->pageTitle = 'Đăng kí $label';\n";
echo "\$this->breadcrumbs = array(
	'$label'=>array('index'),
	'Đăng kí',
);\n";
?>
?>
<div class="heading">
    <h1><img src="<?php echo Util::themeUrl() ?>/images/header.ico" /><?php echo "<?php echo \$this->pageTitle?>" ?></h1>

    <div class="controls">
        <?php echo "<?php\n" ; ?>
        if(!isset($_GET['ajax']))
            echo CHtml::link("Trở lại trang trước", array('index'),  array('class' => 'controls'));
        <?php echo "?>\n";?>
    </div>
</div>

<div class="content">
    <?php echo "<?php echo \$this->renderPartial('_form', compact('model')); ?>\n"; ?>
</div>

